package com.dv.shell.service;

import com.dv.shell.entity.ProductCategory;

import java.util.List;

/**
 * @Author DavidLoman
 * @create 2021/3/22 1:03
 */
public interface CategoryServie {

    ProductCategory findone(Integer categoryId);

    List<ProductCategory> findAll();

    List<ProductCategory> findByCategoryTypeIn(List<Integer> productCategoryList);

    /*新增和删除*/
    ProductCategory save(ProductCategory productCategory);


}
